﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Game.Foundation;

namespace Game.Client.ChineseChess
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnGetConnection_Click(object sender, EventArgs e)
        {
            RemoteServer server = (RemoteServer)(Activator.GetObject(typeof(RemoteServer), "tcp://localhost:12593/testuri"));
            //server.SetConnection(txtName.Text, 1, 1);
            //server.ChangeReadyStatus(GameStatus.Ready);
        }
    }
}
